import { createRouter, createWebHistory } from 'vue-router'
import Mapmoti from '../views/Mapmoti.vue'
import transit from '../views/transit.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    // {
    //   path: '/',
    //   redirect: '/humans'
    // },
    {
      path: '/',
      name: "transit",
      component: () => import('../views/transit.vue'),
      // redirect: '/'
    },
    {
      path: '/Mapmoti',
      name: 'Mapmoti.vue',
      component: Mapmoti,
    },
    {
      path: '/Monitoring',
      name: 'Monitoring',
      component: () => import('../views/Monitoring.vue')
    },
    {
      path: '/Statistics',
      name: 'Statistics',
      component: () => import('../views/Statistics.vue')
    },
  ]
})

export default router
